<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2022/4/28
 * Time: 20:59
 */

namespace app\controller\index\home;



use app\controller\CoreController;
use app\logic\index\banner\BannerLogic;
use support\Request;

class BannerController extends CoreController
{
    /**
     * banner列表
     * @param Request $request
     * @return \Illuminate\Http\JsonResponse
     */
    public function getList(Request $request)
    {
        $param = [];

        $data = BannerLogic::getInstance()->index($param);
        return $this->endSuccess($data);
    }
}